/**
 * Copyright (C) 2006-2014 版权所有者为北京捷越联合信息咨询有限公司。本系统是商用软件,未经授权擅自复制或传播本程序的部分或全部将是非法的。 
 * @title: Request4001DTO.java
 * @package com.jy.modules.cmm.pojo.request
 * @author gongchenglong
 * @date 2015-1-13
 * @version v1.00
 * @description: TODO 合作机构额度信息登记request
 */
package com.jy.modules.cims.data.interact.core.loan.request;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

import org.hibernate.validator.constraints.NotBlank;

import com.jy.modules.cims.data.interact.core.BaseHeaderRequestDTO;

/**
 * 
 * @classname: Request4001DTO.java
 * @description: 合作机构额度信息登记Request
 *
 */
public class Request4001DTO extends BaseHeaderRequestDTO {
	@NotBlank(message = "额度编号creditCode不能为空")
	private String creditCode;//额度编号
	@NotNull(message = "额度有效期起始日期creditStartDate不能为空")
	private Date startDate;//额度有效期起始日期
	@NotNull(message = "额度有效期截止日期creditEndDate不能为空")
	private Date endDate;//额度有效期截止日期
	@NotNull(message = "额度金额creditAmount不能为空")
	private BigDecimal creditAmount;//额度金额
	@NotBlank(message = "操作类型operationType不能为空")
	private String operType;//操作类型
	@NotBlank(message = "合作机构编号corpBrchCode不能为空")
	private String corpBrchCode;//合作机构编号
	@NotBlank(message = "合作机构名称corpBrchName不能为空")
	private String corpBrchName;//合作机构名称
	@Valid
	@NotNull(message = "约束信息ckDataList不能为空")
	@Size(min=1, message = "约束信息ckDataList不能为空")
	private List<CreditConstraint> ckDataList;//约束信息
	
	public String getCreditCode() {
		return creditCode;
	}
	public void setCreditCode(String creditCode) {
		this.creditCode = creditCode;
	}
	public Date getStartDate() {
		return startDate;
	}
	public void setStartDate(Date startDate) {
		this.startDate = startDate;
	}
	public Date getEndDate() {
		return endDate;
	}
	public void setEndDate(Date endDate) {
		this.endDate = endDate;
	}
	public BigDecimal getCreditAmount() {
		return creditAmount;
	}
	public void setCreditAmount(BigDecimal creditAmount) {
		this.creditAmount = creditAmount;
	}
	public String getOperType() {
		return operType;
	}
	public void setOperType(String operType) {
		this.operType = operType;
	}
	public String getCorpBrchCode() {
		return corpBrchCode;
	}
	public void setCorpBrchCode(String corpBrchCode) {
		this.corpBrchCode = corpBrchCode;
	}
	public String getCorpBrchName() {
		return corpBrchName;
	}
	public void setCorpBrchName(String corpBrchName) {
		this.corpBrchName = corpBrchName;
	}
	public List<CreditConstraint> getCkDataList() {
		return ckDataList;
	}
	public void setCkDataList(List<CreditConstraint> ckDataList) {
		this.ckDataList = ckDataList;
	}
	
}

